package com.zeyi.chat.handler;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author zeyi
 */
public class TaskHandler {
    private static ExecutorService tasks = Executors.newFixedThreadPool(5);

    public static void submit(Runnable task) {
        tasks.submit(task);
    }
}
